﻿package com.flashapp.views{	import com.flashapp.events.EventNames;			import flash.events.MouseEvent;	import org.simplemvc.core.Controller;	import org.simplemvc.core.Model;		/**	 * @author Tony Birleffi	 */	public class NavController extends Controller	{		/**		 * The constructor.		 * 		 * @param model		the current model.		 * @param view		the current view.		 */		public function NavController( model:Model, view:Navigation = null )		{			super( model, view );		}				/**		 * Event handler for the Navigation.		 * 		 * @param event		mouse event.		 */		public function clickHandler( event:MouseEvent ):void		{			var eventId:String = event.currentTarget[ 'name' ];			model.updateLocation( eventId );		}	}}